package com.gistone.commis.mapper;

import com.gistone.commis.entity.Depart;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;
@Mapper
public interface DepartMapper {

    @Select("SELECT * FROM tb_depart")
    List<Depart> findDeparts();
    int deleteByPrimaryKey(Integer departId);

    int insert(Depart record);

    int insertSelective(Depart record);

    Depart selectByPrimaryKey(Integer departId);

    int updateByPrimaryKeySelective(Depart record);

    int updateByPrimaryKey(Depart record);
}